package com.wgy.blog.service;

import com.wgy.blog.common.Result;
import com.wgy.blog.pojo.Label;
import com.wgy.blog.pojo.PageQuery;

import java.util.List;

public interface LabelService {

    Result<Integer> add(Label label);

    Result<Integer> update(Label label);

    Result<Integer> delete(Long labelId);

    Result<List<Label>> findAll(PageQuery pageQuery);

    Result<List<Label>> find();
}
